<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="author" content="Steper Kuo">
	<title>Border stretch with Pseudo - Before&After</title>

	<!-- Link *** CSS  -->
	<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic,300italic' rel='stylesheet' type='text/css'>
	<link rel="stylesheet" href="http://www.owlcarousel.owlgraphic.com/assets/css/docs.theme.min.css">
	<!-- Link Demo *** CSS-->
	<link rel="stylesheet" href="border-stretch.css">

	<!--Jquery.js, HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<script src="https://cdn.bootcss.com/jquery/1.11.0/jquery.min.js"></script>
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->
</head>
<body>
<!-- header -->
<header class="header">
	<div class="row">
		<div class="large-12 columns">
			<div class="brand left">
				<h3>
					<a href="/">Border stretch with Pseudo - Before&After</a>
				</h3>
			</div>
			<a id="toggle-nav" class="right">
				<span></span> <span></span> <span></span>
			</a>
			<div class="nav-bar">
				<ul class="clearfix">
				</ul>
			</div>
		</div>
	</div>
</header>

<!-- title -->
<section class="title">
	<div class="row">
		<div class="large-12 columns">
			<h1>Basic</h1>
		</div>
	</div>
</section>

<!--  Demos -->
<section id="demos">
	<div class="row">
		<div class="large-12 columns">
			<!--Demo's html here-->
			<div id="demoContent" style="height: 250px;">
				<div class="chou_con_t">
					<div class="chou_con_t_2 chou_product">
						<img class="" src="http://img10.360buyimg.com/cms/jfs/t2383/137/77341396/64243/bd360b07/55ebfabbN56c3fc81.png" alt="">

						<div class="mask_layer" style="opacity: 0;">
						</div>
						<div class="chou_pro_data" style="left: 0px; opacity: 0;">
							<h3> 小觅智能防丢器 </h3>

							<p> 极致轻薄 </p>
							<span>Details</span>
							<em></em>
						</div>
						<a target="_blank" clstag="sale|keycount|jianerhuo|bate5_product1" href="http://z.jd.com/project/details/21002.html"></a>
					</div>
					<div class="chou_con_t_3 chou_product">
						<img class="" src="http://img13.360buyimg.com/cms/jfs/t2107/207/63868358/19432/ef45f2be/55ebfabbN86d3aff7.png" alt="">

						<div class="mask_layer" style="opacity: 0;">
						</div>
						<div class="chou_pro_data" style="left: 0px; opacity: 0;">
							<h3> 碳纤维耳机 </h3>

							<p> 聆听极致的声音 </p>
							<span>Details</span>
							<em></em>
						</div>
						<a target="_blank" clstag="sale|keycount|jianerhuo|bate5_product2" href="http://z.jd.com/project/details/21094.html"></a>
					</div>
				</div>
			</div>
			<h3 id="overview">Overview</h3>
			<!--Introduction here-->
			<p>
				<code>
					.chou_product:before
					{
					position: absolute;
					left: 0;
					right: 0;
					top: 0;
					bottom: 0;
					content: "";
					z-index: 3;
					border-right: 3px solid #ffe401;
					border-left: 3px solid #ffe401;
					transform: scale(1, 0);
					transition: opacity 0.35s ease, transform 0.35s ease;
					}
					.chou_product:after
					{
					position: absolute;
					left: 0;
					right: 0;
					top: 0;
					bottom: 0;
					content: "";
					z-index: 3;
					border-top: 3px solid #ffe401;
					border-bottom: 3px solid #ffe401;
					transform: scale(0, 1);
					transition: opacity 0.35s ease, transform 0.35s ease;
					}
					.chou_product:hover:before, .chou_product:hover:after
					{
					transform: scale(1);
					opacity: 1;
					transition: opacity 0.35s ease, transform 0.35s ease;
					}
				</code>
			</p>
			<h3 id="setup">Setup</h3>
			<pre><code id="setupCode"></code></pre>
			<h3 id="html">html</h3>
			<pre><code id="htmlCode"></code></pre>
		</div>
	</div>
</section>

<!-- footer -->
<footer class="footer">
	<div class="row">
		<div class="large-12 columns">
			<h5>
				<a href="/">Steper Kuo</a>
				<a id="custom-tweet-button" href="https://twitter.com/share?url=http://www.baidu.com&text=Email:gyx8899@126.com" target="_blank"></a>
			</h5>
		</div>
	</div>
</footer>
<!-- Script *** JS -->
<script src="http://www.owlcarousel.owlgraphic.com/assets/vendors/highlight.js"></script>
<script src="http://www.owlcarousel.owlgraphic.com/assets/js/app.js"></script>

<!-- Script Demo *** JS -->
<script src=""></script>

<script id="documentReadyCode">
	$(document).ready(function ()
	{

	});
</script>
<script>
	function escapeHtml(text)
	{
		var map = {
			'&': '&amp;',
			'<': '&lt;',
			'>': '&gt;',
			'"': '&quot;',
			"'": '&#039;'
		};

		return text.replace(/[&<>"']/g, function (m)
		{
			return map[m];
		});
	}
	document.getElementById('htmlCode').innerHTML = escapeHtml(document.getElementById('demoContent').outerHTML);
	document.getElementById('setupCode').innerHTML = escapeHtml(document.getElementById('documentReadyCode').innerHTML);
</script>
</body>
</html>